package com.bilin.coin.bean;

import java.util.List;

public class DigToolsBean {


    /**
     * total : 1
     * records : [{"id":1,"userId":1,"total":100,"createTime":"2020/04/27 13:59:46","updateTime":"2020/04/27 13:59:46","version":0,"type":0,"rate":0.001,"num":1}]
     */

    private int total;
    private List<RecordsBean> records;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public static class RecordsBean {
        /**
         * id : 1
         * userId : 1
         * total : 100
         * createTime : 2020/04/27 13:59:46
         * updateTime : 2020/04/27 13:59:46
         * version : 0
         * type : 0
         * rate : 0.001
         * num : 1
         */

        private int id;
        private int userId;
        private int total;
        private String createTime;
        private String updateTime;
        private int version;
        private int type;
        private double rate;
        private int num;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public double getRate() {
            return rate;
        }

        public void setRate(double rate) {
            this.rate = rate;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }
    }
}
